package demo1;

public class Cat extends Animal implements IRunning{
    public Cat(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println(name+"猫吃小鱼仔");
    }

    @Override
    public void running() {
        System.out.println(name+"欢快的跑");
    }
}
